package com.antdesignbackend.backend.entity.entityVo;

import com.antdesignbackend.backend.entity.Button;
import com.antdesignbackend.backend.entity.Log;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * Created by Administrator on 2020/2/16.
 */
@EqualsAndHashCode(callSuper = true)
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class LogVo extends Log {
    /*
    当前的页码，默认第1页
     */
    public int pageIndex = 1;
    /*
    每页的行数，默认10
     */
    public int pageSize = 10;
    /**
   查询开始时间
  */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    /**
  查询的结束时间
 */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    /**
   权限列表
   */
    private List<Button> buttonList;
    /**
     字典名称
     */
    public String logTypeName=null;

}
